<template>
  <div
    :style="{
      height: props.res.data.height + 'px',
      backgroundColor: props.res.data.background
    }"
  ></div>
</template>

<script setup lang="ts">
import { px2rpx } from './px2rpx'
const props = defineProps(['res'])
</script>

<style scoped></style>
